.class Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;
.super Ljava/lang/Object;
.source "FontView.java"

# interfaces
.implements Lcom/android/volley/j$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;)Les/ta;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/android/volley/j$b<",
        "[B>;"
    }
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;

.field final synthetic d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;Ljava/lang/String;Ljava/lang/String;Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->a:Ljava/lang/String;

    iput-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->b:Ljava/lang/String;

    iput-object p4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->c:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public bridge synthetic a(Ljava/lang/Object;)V
    .locals 0

    .line 1
    check-cast p1, [B

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->a([B)V

    return-void
.end method

.method public a([B)V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;)Les/ua;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Les/ua;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 3
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const-string v2, "fontview"

    if-eqz v1, :cond_0

    const-string p1, "path to save is null"

    .line 4
    invoke-static {v2, p1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    :cond_0
    if-nez p1, :cond_1

    const-string p1, "remote file is null"

    .line 5
    invoke-static {v2, p1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 6
    :cond_1
    invoke-static {p1, v0}, Lcom/esfile/screen/recorder/utils/i;->a([BLjava/lang/String;)V

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    invoke-static {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 8
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;)Z

    move-result p1

    if-nez p1, :cond_3

    .line 9
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;)Les/ua;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->a:Ljava/lang/String;

    invoke-virtual {p1, v1, v0}, Les/ua;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 10
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->d:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView$a;->c:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;

    invoke-static {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/FontView;Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/b$a;)V

    goto :goto_0

    .line 11
    :cond_2
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_3

    new-instance p1, Ljava/io/File;

    invoke-direct {p1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 12
    new-instance p1, Ljava/io/File;

    invoke-direct {p1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/io/File;->delete()Z

    :cond_3
    :goto_0
    return-void
.end method
